package com.rentcars.mapper;

import com.rentcars.entity.CarYearcheck;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author 赵瑞硕
 * @data
 */
@Mapper
public interface CarYearcheckMapper {

    /** 查看所有年检信息*/
    List<CarYearcheck> getLikeCarYearcheck(Map<String, Object> map);
    /** 计算条数*/
    int getLikeCarYearcheckCount(Map<String, Object> map);
    /** 删除*/
    int deleteByPrimaryKey(String recordid);
    /** 查看对应id信息*/
    CarYearcheck selectByPrimaryKey(String recordid);
    /** 添加年检信息*/
    int insertSelective(CarYearcheck record);
    /** 修改年检*/
    int updateByPrimaryKeySelective(CarYearcheck record);

}